<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>bootstrap</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
<!-- <div class="container">
    <form action="" class="form-inline">
        <div class="form-group">
            <label for="user" class="sr-only">用户名</label>
            <input type="text" id="user" class="form-control" placeholder="请输入用户名">
        </div>
        
        <div class="form-group">
            <label for="pwd" class="sr-only">密码</label>
            <input type="password" name="" id="pwd" class="form-control" placeholder="请输入密码">
        </div>
        
    
        <div class="form-group">
            <input type="checkbox" name="" id="check" >
            <label for="check">同意</label>
        </div>
        
    </form>
</div> -->
<!-- <div class="container">
    <form action="" class="form-inline">
        <div class="form-group">
            <label for="shop" class="sr-only">购物车</label>
            <div class="input-group">
                <div class="input-group-addon">+</div>
                <input type="text" name="" id="shop" class="form-control" placeholder="购物">
                <div class="input-group-addon">-</div>
            </div>  
        </div>
        <div class="form-group">
            <label for="user" class="sr-only">用户名</label>
            <input type="text" class="form-control" id="user" placeholder="用户名">
        </div>
    </form>
</div> -->
<div class="container">
    <form action="" class="form-horizontal">
        <div class="form-group">
            <label for="shop" class="sr-only">购物车</label>
            <div class="input-group">
                <div class="input-group-addon">+</div>
                <input type="text" name="" id="shop" class="form-control" placeholder="购物">
                <div class="input-group-addon">-</div>
            </div>  
        </div>
        <div class="form-group">
            <label for="user" class="sr-only">用户名</label>
            <input type="text" class="form-control" id="user" placeholder="用户名">
        </div>
        <div class="form-group">
            <input type="checkbox" disabled>
            <input type="text" disabled placeholder="禁止修改" class="form-control">
        </div>
        <div class="input-group">
            <div class="input-group-addon">@</div>
            <input type="text"  class="form-control">
            <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span>
        </div>
        <div class="form-group">
            <input type="text" class="form-control input-lg">
            <input type="text" class="form-control input-sm">
        </div>
    </form>
</div>

</body>
</html>